package com.five.wisdomClass.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@TableName("student_take_course")
@AllArgsConstructor
@NoArgsConstructor
public class StudentTakeCourse implements Serializable {

    // id
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    // 学号
    @TableField(value = "s_number")
    private String sNumber;

    // 课程号
    @TableField(value = "course_number")
    private String courseNumber;
}
